package com.bblocks.pojo.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 资讯表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Schema(description = "资讯表")
public class InformationPageListVo implements Serializable{

	private static final long serialVersionUID = 1L;

    @Schema(description="资讯id")
    private Long id;

    @Schema(description="咨询标题")
    private String title;

    @Schema(description="咨询正文")
    private String informationTxt;

    @Schema(description="咨询图片(封面,有可能多张,使用,分割)")
    private String picUrl;

    @Schema(description="视屏url")
    private String videoUrl;

    @Schema(description="创建日期")
    private String date;

    @Schema(description="点击量")
    private Integer clicksNumber;

    @Schema(description="阅读量")
    private Integer seeNumbers;

    @Schema(description="点赞量")
    private Integer praiseNumber;

    @Schema(description="收藏数")
    private Integer collectionNumber;

    @Schema(description="转发次数")
    private Integer forwardNumber;

    @Schema(description="评论数")
    private Integer discussNumber;

    @Schema(description="作者")
    private String author;

    @Schema(description="来源")
    private String from;

    @Schema(description="发布用户id")
    private Long userId;

    @Schema(description="链接地址")
    private String linkUrl;

    @Schema(description="头像")
    private String firstImg;

    @Schema(description="样式（0-默认样式 1-大图模式 2-小图模式 , 3-一图轮播模式 9=公众号url文章）")
    private Byte style;

    @Schema(description="是否关注:0-未关注;1-已关注")
    private Integer isFollow;

    @Schema(description="推荐: 1-推荐一(只能设置一个); 2-推荐二(必须将style设置成3); 3-推荐三(必须三张图,不然不给设置); 4-其他(不推荐)")
    private Integer recommend;

    @Schema(description="资讯图片(多张使用逗号分割)")
    private String informationImage;

    @Schema(description="视频封面(封面)")
    private String videoPhoto;

    @Schema(description="是否点赞: 0-未点赞; 1-已点赞")
    private Integer isPraise;

    @Schema(description="是否收藏: 0-为收藏; 1-已收藏")
    private Integer isCollection;

    @Schema(description="评论列表")
    private List<DiscussVo> discussVoList;

    @Schema(description="详情页跳转链接")
    private String detailLinkUrl;

    @Schema(description="群id(仅在动态(生活说219)的时候使用)")
    private Long groupId;

    @Schema(description="子集")
    private List<InformationPageListVo> children;



}